package cn.caijiapeng.spt.config;

import com.jfinal.config.Routes;

import cn.caijiapeng.spt.ctrl.admin.AdminCtrl;
import cn.caijiapeng.spt.ctrl.admin.FeedBackCtrl;
import cn.caijiapeng.spt.interceptor.AdminInterceptor;

public class AdminRoute extends Routes{

	@Override
	public void config() {
		addInterceptor(new AdminInterceptor());
		add("/admin", AdminCtrl.class);
		add("/admin/feedback", FeedBackCtrl.class);
	}
	
}
